﻿@model ProgrammersFAQ.Models.PlatformModels[]
<!DOCTYPE html>

<html>
<head>    
    <meta name="viewport" content="width=device-width" />
    <title></title>
</head>
<body>
    <div>
        <table>
            @if (@Model != null)
            {
                <tr>
                    <td>Platforms</td>
                    <td></td>
                </tr>
                foreach (var item in @Model)
                {
                    if (@item != null)
                    {
                        string url = "EditPlatform?id=" + @item.Id;
                        <tr>
                            <td>@item.Platform</td>
                            <td><a href="@url">Edit</a></td>
                        </tr>
                    }
                }
            }

        </table>
        
        
    </div>
</body>
</html>
